<%@ Page Language="C#" MasterPageFile="~/pages/MasterPage.master" AutoEventWireup="true" CodeFile="Booking.aspx.cs" Inherits="pages_Booking" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyHoder" Runat="Server">
    <table class="form_table" style="left: 1px">
        <tr>
            <td colspan="3">
                Please fill in below form:</td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label1" runat="server" Text="First name *:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtFirstName" runat="server" ToolTip="Your first name"></asp:TextBox></td>
            <td style="width: 100px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFirstName"
                    ErrorMessage="Please provide your firstaname" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label2" runat="server" Text="Last name *:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtLastName" runat="server" ToolTip="Your last name"></asp:TextBox></td>
            <td style="width: 100px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtLastName"
                    ErrorMessage="Please provide your last name" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label3" runat="server" Text="Date of birth *:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtDateOfBirth" runat="server" ToolTip="MM/dd/yyyy"></asp:TextBox></td>
            <td style="width: 100px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtDateOfBirth"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" ValidationGroup="A">*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtDateOfBirth"
                    Display="Dynamic" ErrorMessage="Invalid date value" ValidationExpression="\d{2}/\d{2}/\d{4}"
                    ValidationGroup="A">*</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label4" runat="server" Text="Gender *:"></asp:Label></td>
            <td style="width: 186px">
                <asp:RadioButton ID="radMale" runat="server" GroupName="Gender" Text="Male" />
                <asp:RadioButton ID="radFemale" runat="server" GroupName="Gender" Text="Female" /></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label6" runat="server" Text="Email:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
            <td style="width: 100px">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                    ErrorMessage="Invalid email syntax" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                    ValidationGroup="A">*</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label7" runat="server" Text="Phone:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtPhone" runat="server" ToolTip="Phone number (from 9 to 11 digits)"></asp:TextBox></td>
            <td style="width: 100px">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtPhone"
                    ErrorMessage="Invalid phone number systax" ValidationExpression="\d{9,11}" ValidationGroup="A">*</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label5" runat="server" Text="Address *:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
            <td style="width: 100px">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtAddress"
                    ErrorMessage="Please provide your address" ValidationGroup="A">*</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label8" runat="server" Text="Country:"></asp:Label></td>
            <td style="width: 186px">
                <asp:DropDownList ID="cmbCountry" runat="server">
                </asp:DropDownList></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label9" runat="server" Text="State:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtState" runat="server" ToolTip="State in a country"></asp:TextBox></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <asp:Label ID="Label10" runat="server" Text="City:"></asp:Label></td>
            <td style="width: 186px">
                <asp:TextBox ID="txtCity" runat="server"></asp:TextBox></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
            </td>
            <td style="width: 186px">
                <asp:LinkButton ID="lnkContinue" runat="server" CssClass="c_button" ValidationGroup="A" OnClick="lnkContinue_Click">Continue</asp:LinkButton>
                <asp:LinkButton ID="lnkReset" runat="server" CssClass="c_button" ValidationGroup="A">Reset</asp:LinkButton></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px; height: 17px">
            </td>
            <td style="width: 186px; height: 17px">
            </td>
            <td style="width: 100px; height: 17px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px; height: 17px">
            </td>
            <td style="width: 186px; height: 17px">
            </td>
            <td style="width: 100px; height: 17px">
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
            </td>
            <td style="width: 186px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
    </table>
    <br />
</asp:Content>

